package cn.edu.cqupt.cxcy.model;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class Project implements Serializable {
	private int p_id;//项目id
	private String p_name;//项目名
	private String p_logo;
	private Date p_ctime;
	private Date p_ltime;
	private int p_status;
	private int p_progress;
	private int p_view;
	private String p_content;
	private String p_explain;
	private int te_id;
	private int pt_id;
	private String p_remarks;
	private String p_filename;
	private String p_filepath;
	private int p_zan;
	
	
	
	public int getP_zan() {
		return p_zan;
	}

	public void setP_zan(int p_zan) {
		this.p_zan = p_zan;
	}

	public Project(int p_id, String p_name, String p_logo, Date p_ctime, Date p_ltime, int p_status, int p_progress,
			int p_view, String p_content, String p_explain, int te_id, int pt_id, String p_remarks, String p_filename,
			String p_filepath) {
		this.p_id = p_id;
		this.p_name = p_name;
		this.p_logo = p_logo;
		this.p_ctime = p_ctime;
		this.p_ltime = p_ltime;
		this.p_status = p_status;
		this.p_progress = p_progress;
		this.p_view = p_view;
		this.p_content = p_content;
		this.p_explain = p_explain;
		this.te_id = te_id;
		this.pt_id = pt_id;
		this.p_remarks = p_remarks;
		this.p_filename = p_filename;
		this.p_filepath = p_filepath;
	}

	public int getPt_id() {
		return pt_id;
	}

	public void setPt_id(int pt_id) {
		this.pt_id = pt_id;
	}
	
/*	public String getP_acount() {
		return p_acount;
	}
	public void setP_acount(String p_acount) {
		this.p_acount = p_acount;
	}*/
	
	public String getP_remarks() {
		return p_remarks;
	}
	public void setP_remarks(String p_remarks) {
		this.p_remarks = p_remarks;
	}
	public String getP_filename() {
		return p_filename;
	}
	public void setP_filename(String p_filename) {
		this.p_filename = p_filename;
	}
	public String getP_filepath() {
		return p_filepath;
	}
	public void setP_filepath(String p_filepath) {
		this.p_filepath = p_filepath;
	}
	public int getP_view() {
		return p_view;
	}
	public void setP_view(int p_view) {
		this.p_view = p_view;
	}
	public int getP_id() {
		return p_id;
	}
	public void setP_id(int p_id) {
		this.p_id = p_id;
	}
	public String getP_name() {
		return p_name;
	}
	public void setP_name(String p_name) {
		this.p_name = p_name;
	}
	public String getP_logo() {
		return p_logo;
	}
	public void setP_logo(String p_logo) {
		this.p_logo = p_logo;
	}
	public Date getP_ctime() {
		return p_ctime;
	}
	public void setP_ctime(Date p_ctime) {
		this.p_ctime = p_ctime;
	}
	public Date getP_ltime() {
		return p_ltime;
	}
	public void setP_ltime(Date p_ltime) {
		this.p_ltime = p_ltime;
	}
	public int getP_status() {
		return p_status;
	}
	public void setP_status(int p_status) {
		this.p_status = p_status;
	}
	public int getP_progress() {
		return p_progress;
	}
	public void setP_progress(int p_progress) {
		this.p_progress = p_progress;
	}
	public String getP_content() {
		return p_content;
	}
	public void setP_content(String p_content) {
		this.p_content = p_content;
	}
	public String getP_explain() {
		return p_explain;
	}
	public void setP_explain(String p_explain) {
		this.p_explain = p_explain;
	}
	public int getTe_id() {
		return te_id;
	}
	public void setTe_id(int te_id) {
		this.te_id = te_id;
	}

	public Project()
	{}
	@Override
	public String toString() {
		return "Project [p_id=" + p_id + ", p_name=" + p_name + ", p_logo=" + p_logo + ", p_ctime=" + p_ctime + ", p_ltime="
				+ p_ltime + ", p_status=" + p_status + ", p_progress=" + p_progress + ", p_content=" + p_content
				+ ", p_explain=" + p_explain + ", te_id=" + te_id + "]";
	}

}
